package com.ren.utils.canal;

import lombok.Data;

import java.util.List;

/**
 * @ClassName: CanalBean
 * @Description: TODO
 * @Author: RZY
 * @DATE: 2022/7/17 9:59
 * @Version: v1.0
 */

@Data
public class CanalBean {

    //数据
    String data;

    //对应数据库
    String database;

    //对应的表名
    String table;

    String es;

    String id;

    //字段类型
    String mysqlType;

    //before
    String old;

    //是否为DDL
    boolean isDdl;

    //sql类型(update, delete, insert)
    String type;
}
